package autoteam.ui.dialogs.profiles;

import java.awt.Dimension;

import ui.BackgroundPanel;
import autoteam.ui.dialogs.AutoTeamDialog;

public class ProfileDialog extends AutoTeamDialog
{
    private static final long serialVersionUID = 1994248192831106873L;
    
    private Dimension defaultSize = new Dimension( 640, 480 );
    
    private BackgroundPanel BGpanel = new BackgroundPanel( "./trunk/img/profile_default_BG.jpg" );
    
    public ProfileDialog( ProfilePanel profile )
    {
        super( );
        
        this.setDialogSize( defaultSize );
        this.setContentPane( BGpanel );
        this.add( profile );
    }
    
    /* change profile background */
    public void changeBackground( String path )
    {
        BGpanel = new BackgroundPanel( path );
    }
    
    @ Override
    protected void setButtonActions( AutoTeamDialog thisDialog )
    {
        // TODO Auto-generated method stub
        
    }
    
}
